<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--在页面加载时向HTML的<body>写文本"welcome!"-->
<script>
    document.write("welcome!");
//write写成writ，再进行代码调试
</script>
<!--智能问答：请描述一下JavaScript的函数和事件-->
</body>
</html>